package com.example.course.utils.common.enums;

public enum Jwt {
    User_Jwt_Key("JWT","HS256","UserToken","TokenToAndroid",7200000l),
    Admin_Jwt_Key("JWT","HS256","AdminToken","TokenToVue",7200000l);

    String typ;
    String alg;
    String name;
    String key;
    Long exp;

    Jwt(String typ, String alg, String name, String key, Long exp) {
        this.typ = typ;
        this.alg = alg;
        this.name = name;
        this.key = key;
        this.exp = exp;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getExp() {
        return exp;
    }

    public void setExp(Long exp) {
        this.exp = exp;
    }

    public String getTyp() {
        return typ;
    }

    public void setTyp(String typ) {
        this.typ = typ;
    }

    public String getAlg() {
        return alg;
    }

    public void setAlg(String alg) {
        this.alg = alg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
